/*
 *  Copright: 2008 Philipp Leitner, Distributed Systems Group,
 *            TU Wien, leitner@infosys.tuwien.ac.at
 *
 *  This file is part of DAIOS.
 *
 *  DAIOS is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Lesser General Public License as
 *  published by the Free Software Foundation.
 * 
 *  DAIOS is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with DAIOS.  If not, see
 *  <http://www.gnu.org/licenses/>.
 * 
 */

package at.ac.tuwien.infosys.dsg.daios.framework.interfaces;

/**
 * This interface defines a few constants used
 * throughout the whole Daios framework.
 * 
 * @author philipp
 *
 */
public interface IConstants {
	
	/**
	 * The name of the Daios log4j logger.
	 */
	public static final String LOG_NAME =
		"Daios";
	
	/**
	 * SOAP invocation: RPC style
	 */
	public static final String RPC_STYLE = 
		"rpc";

	/**
	 * SOAP invocation: document style
	 */
	public static final String DOC_STYLE = 
		"document";	

	/**
	 * SOAP encoding: encoded
	 */
	public static final String ENCODED_STYLE =
		"encoded";
	
	/**
	 * SOAP encoding: literal
	 */
	public static final String LITERAL_STYLE = 
		"literal";
	
	/**
	 * SOAP parameter style: wrapped
	 */
	public static final String WRAPPED_STYLE = 
		"wrapped";	
	
	/**
	 * SOAP Web Service style
	 */
	public static final String SOAP_STYLE = 
		"SOAP";
	
	/**
	 * REST Web Service style
	 */
	public static final String REST_STYLE = 
		"REST";	
	
	/**
	 * HTTP GET
	 */
	public static final String HTTP_GET_METHOD = 
		"GET";		
	
	/**
	 * HTTP POST
	 */
	public static final String HTTP_POST_METHOD = 
		"POST";	
	
	/**
	 * HTTP line feed
	 */
	public static final String CRLF = "\r\n";
	
	/**
	 * The namespace URI identifying XML Schema
	 */
	public static final String XSD_NS = 
		"http://www.w3.org/2001/XMLSchema";

	/**
	 * The namespace URI identifying XML Schema instances
	 */
	public static final String XSI_NS =
		"http://www.w3.org/2001/XMLSchema-instance";
	
	/**
	 * The namespace URI identifying SOAP encoding
	 */
	public static final String SOAPENC_NS =
		"http://schemas.xmlsoap.org/soap/encoding/";
	
	/**
	 * The namespace URI identifying SOAP envelope
	 */
	public static final String SOAPENV_NS =
		"http://schemas.xmlsoap.org/soap/envelope/";
	
}
